#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QPushButton>
#include <QSpinBox>
#include "qcustomplot.h"
#include "hqcustomplot.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;
    HQCustomPlot *customPlot;
    QPushButton *markerButton[MARKERNUM];
    QPushButton *mkrTxtButton;
    QPushButton *logAxisButton;
    QSpinBox *mMkrToTraceSB;

private slots:
    void markerToggled(bool checked);
    void mkrTxtToggled(bool checked);
    void logAxisToggled(bool checked);
//    void selectionChanged();
//    void mousePress(QMouseEvent *event);
//    void mouseRelease(QMouseEvent *event);
//    void mouseMove(QMouseEvent* m_event);
};

#endif // MAINWINDOW_H
